<link rel="stylesheet" type="text/css" href="{$smarty.const.BASE_URL}/js/jQueryTree/jquery.treeview.css">
<script type="text/javascript" src="{$smarty.const.BASE_URL}/js/jQueryTree/jquery.treeview.js"></script>

<h3>Mục lục từ điển</h3>
<ul id="wbible_navigation" style="display: none;">
   {foreach from=$dic_array item=dic}
        <li><a href="{link module=dicmodule action=view_page dfrom=$dic->dfrom dto=$dic->dto}" title="Từ G{$dic->dfrom} đến G{$dic->dto}">Từ G{$dic->dfrom} đến G{$dic->dto}</a>
            {*<ul>
                {foreach from=$dic->sub_items item=word}
                    <li><a href="{link module=dicmodule action=view_page dfrom=$dic->dfrom dto=$dic->dto}#G{$word}">G{$word}</a></li>
                {/foreach}
            </ul>*}
        </li>
   {/foreach} 
</ul>
<script language="javascript">
{literal}
jQuery(document).ready(function(){
    jQuery("#wbible_navigation").treeview({
        persist: "location",
        collapsed: true,
        unique: false
    }).show();
});
{/literal}
</script>